package org.lex.ftp.ui.explorer.actions;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.KeyStroke;

import org.lex.ftp.ui.explorer.FTPExplorer;

public class RefreshAction extends FTPExplorerAction {
	public RefreshAction(FTPExplorer ftpView) {
		super(ftpView);
		this.setName("Refresh");
		this.setAcceleratorKey(KeyStroke.getKeyStroke(KeyEvent.VK_F5, 0, false));
	}

	public void actionPerformed(ActionEvent e) {
		explorer.getFTPModel().reload();
	}
}
